package com.DeliveryProgram.www.po;

import java.util.Date;

public class Comment {
    public Comment(int id,String writer, String shop, String comm, Date date) {
        this.id=id;
        this.writer = writer;
        this.shop = shop;
        this.comm = comm;
        this.date = date;
    }

    /**评论的id*/
    private int id;

    /**评论人的名字*/
    private String writer;

    /**评论的店家*/
    private String shop;

    /**评论*/
    private String comm;

    /**评论的日期*/
    private Date date;

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getShop() {
        return shop;
    }

    public void setShop(String shop) {
        this.shop = shop;
    }

    public String getComm() {
        return comm;
    }

    public void setComm(String comm) {
        this.comm = comm;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }
}
